/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import com.google.inject.Inject;
import com.google.inject.Provider;

/**
 *
 * @author pyin
 */
public class RealMachineProvider implements Provider<RealMachine>{
    private ConfigManager configManager;
    private STAFHelper stafHelper;

    @Inject
    public RealMachineProvider(ConfigManager configManager, STAFHelper stafHelper){
        this.configManager = configManager;
        this.stafHelper = stafHelper;
    }

    public RealMachine get() {
        return new RealMachine(configManager, stafHelper);
    }

}
